package unfriendlynumbers;

import java.io.BufferedWriter;
import java.io.FileWriter;
import java.io.IOException;

public class TestCaseGenerator {
	public static void main(String[] args) throws IOException {
		BufferedWriter writer = new BufferedWriter(new FileWriter(args[0]));
		try {
			int N = (int)(Math.random() * 1000000);
			long K = (long)(Math.random() * 10000000000000L);
			writer.write(N + " " + K + "\n");
			if(N > 0)
				writer.write("" + (long)(Math.random() * 1000000000000000000L));
			for(int i = 1; i < N; i++)
				writer.write(" " + (long)(Math.random() * 1000000000000000000L));
			writer.write("\n");
		} finally {
			writer.close();
		}
	}
}
